package com.yscz.peexcel.common.enums;


import com.yscz.peexcel.common.HttpStatus;

/**
 * 业务上返回信息枚举类
 *
 * @author achen
 * @create 2021-12-02 11:26
 */
public enum AlgResponseEnum {

    ALG_START_ANALYSIS_FAIL(HttpStatus.ERROR, "开启算法分析失败"),
    ALG_STOP_ANALYSIS_FAIL(HttpStatus.ERROR, "关闭算法分析失败"),
    ALG_BEING_ANALYSIS_ERROR(HttpStatus.ERROR, "算法正在分析错误"),
    ALG_NOT_BEING_ANALYSIS_ERROR(HttpStatus.ERROR, "算法没有正在分析");

    private Integer code;
    private String msg;

    AlgResponseEnum() {}

    AlgResponseEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
